package storage.buffer;

import exceptions.DBBufferFull;
import exceptions.DBWritePageException;
import Common.GlobalConst;

public abstract class Replacer {
	public Replacer ( BufferMgr bm 	) {
		bufMan = bm ; 
	}
	
	abstract public int pickPage () throws DBBufferFull, DBWritePageException ;
	
	int head = 0 ;
	BufferMgr bufMan = null ; 
	static int BUFFER_SIZE = GlobalConst.BUFFERPOOLSIZE ;  
}
